<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>

<link href="/123/application/Public/Admin/Images/css1/css.css" rel="stylesheet" type="text/css">
<link href="/123/application/Public/Admin/css/page.css" rel="stylesheet" type="text/css">
<style>
td,th {
	text-align: center
}
</style>
</head>
<SCRIPT language=javascript>
<!--
	var displayBar = true;
	function switchBar(obj) {
		if (displayBar) {
			parent.frame.cols = "0,*";
			displayBar = false;
			obj.value = "打开左边管理菜单";
		} else {
			parent.frame.cols = "195,*";
			displayBar = true;
			obj.value = "关闭左边管理菜单";
		}
	}

	function fullmenu(url) {
		if (url == null) {
			url = "admin_left.asp";
		}
		parent.leftFrame.location = url;
	}
        function del(){
            if(confirm('确定删除吗，会删除其下的商品')){
                location.href='__URL__/deleteAll';
            }
        }
//-->
</SCRIPT>



<body>
	<form method='post' action='__URL__/deleteAll'>
		<table class="table" cellspacing="1" cellpadding="2" width="99%"
			align="center" border="0">
			<tbody>
				<tr>
					<th class="bg_tr" align="left" height="25">序号</th>
					<th class="bg_tr" align="left" height="25">分类名</th>
					<th class="bg_tr" align="left" height="25">分类描述</th>
					<th class="bg_tr" align="left" height="25">上级分类</th>
					<th class="bg_tr" align="left" height="25">修改</th>
					<th class="bg_tr" align="left" height="25">
						<input type='submit' name='deleteSubmit' value='删除' onclick="del()"/>
					</th>
				</tr>
				<volist name='data' id='vo'>
				<tr>
					<td class="td_bg" width="5%" height="23" align="center">{$i}</td>
					<td class="td_bg"  style='text-align:left;padding-left:10px;'>
						<if condition="$vo['cid'] eq 0"> <font color='red'>
							<strong>{$vo.name}</strong>
						</font> <else /> --------{$vo.name} </if>
					</td>
					<td class="td_bg">{$vo.content}</td>
<!-- if condition="$vo['cid'] gt 0 -->
					<td class="td_bg">{$vo.cate.name}</td>
					<!-- if  condition="$vo['cid'] gt 0"  {$vo.cid}  /if -->
					<td class="td_bg">
						<a href="__URL__/edit/p/{$p}/id/{$vo.id}">修改</a>
					</td>
					<td class="td_bg">
						<input type='checkbox' value="{$vo.id}" name='id[]' />
					</td>
				</tr>
				</volist>
				<tr>
					<td colspan="6"><div class="badoo">{$show}</div></td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>
